import InterfaceProxy from 'src/utils/mider'
import { defaultOptions } from './_options'

/**
 * 工具
 * @namespace iRedirect
 */

/** @lends iRedirect# */
const interfaceOpt = {
  getRedirection: {
    url: '/p/v1/redirect-api/redirect',
    method: 'get'
  }
}

/** @mixes iRedirect */
const iRedirect = new InterfaceProxy(interfaceOpt, [defaultOptions])
export default iRedirect
